package com.enjoyor.soa.traffic.server.efoms.dubbo.listener;

import org.springframework.context.ApplicationEvent;

/**
 * 事件体
 * @ClassNameMessagePushEvent
 * @Description TODO
 * @Author ZSY
 * @Date 2019/1/17 10:03
 * @Version 1.0
 **/
public class MessagePushEventPojo extends ApplicationEvent {

    private Object operationObj;
    private String operationName;
    private String devTypeCode;
    private int count;

    public MessagePushEventPojo(Object source, String operationName,String devTypeCode) {
        super(source);
        this.operationName = operationName;
        this.devTypeCode = devTypeCode;
    }

    public MessagePushEventPojo(Object source, Object operationObj, String operationName, int count) {
        super(source);
        this.operationObj = operationObj;
        this.operationName = operationName;
        this.count = count;
    }

    public Object getOperationObj() {
        return operationObj;
    }

    public void setOperationObj(Object operationObj) {
        this.operationObj = operationObj;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

	public String getDevTypeCode() {
		return devTypeCode;
	}

	public void setDevTypeCode(String devTypeCode) {
		this.devTypeCode = devTypeCode;
	}
    
    
}
